Type Transformation and Data Structure Choice
نویسندگان
چکیده
Program analysis for typings, for set inclusion and membership relationships, and for universal sets to support data structure selection was a major goal of the SETL project and involved perhaps 50 person-years of design and implementation. Because that approach was so comprehensive, its data structure algorithms used heuristics leading only to expected improvements in performance. Despite serious pragmatic intentions, the optimizer that was eventually implemented was too large essentially 20,000 lines of SETL source code and was never fully operational. We believe that the results of that project fell short of expectations, because the necessary program analysis of a weakly typed, unstructured, and potentially low-level language such as SETL required inferences that were too difficult to obtain in any practical way. This paper describes a top-down approach to data structure selection in which typings and universal sets are easily inferred in a high level, declaration free, strongly typed, functional problem specification language. All remaining analysis to facilitate data structure choice is obtained by a simple deductive process carried out by program transformations that compile these high level specifications into efficient RAM code. A specific transformation to Ada is presented and illustrated using the example of database attribute closure. Our approach is somewhat more restricted than that of SETL, but it rests on formal foundations with data structure selection algorithms that simulate a set machine on a RAM in real-time.
منابع مشابه
Multi-choice stochastic bi-level programming problem in cooperative nature via fuzzy programming approach
In this paper, a Multi-Choice Stochastic Bi-Level Programming Problem (MCSBLPP) is considered where all the parameters of constraints are followed by normal distribution. The cost coefficients of the objective functions are multi-choice types. At first, all the probabilistic constraints are transformed into deterministic constraints using stochastic programming approach. Further, a general tran...
متن کاملStructure of Wavelet Covariance Matrices and Bayesian Wavelet Estimation of Autoregressive Moving Average Model with Long Memory Parameter’s
In the process of exploring and recognizing of statistical communities, the analysis of data obtained from these communities is considered essential. One of appropriate methods for data analysis is the structural study of the function fitting by these data. Wavelet transformation is one of the most powerful tool in analysis of these functions and structure of wavelet coefficients are very impor...
متن کاملStructural Characterization and Ordering Transformation of Mechanically Alloyed Nanocrystalline Fe-28Al Powder
The synthesis of nanocrystalline Fe3Al powder by mechanical alloying as well as the structural ordering of the synthesized Fe3Al particles during the subsequent thermal analysis were investigated. Mechanical alloying was performed up to 100 hours using a planetary ball mill apparatus with rotational speed of 300 rpm under argon atmosphere at ambient temperature. The synthesized powders were cha...
متن کاملEvaluation of Multiple Choice Questions Quality Trend as Structure and Taxonomy
Background: Evaluation of multiple-choice questions is a strategic activity and the most effective tool in educational system and improvement. In this study, the quality of some indexes of multiple-choice exams in Babol Para Medical faculty was investigated on the basis of structure and knowledge level distribution in the first semesters of 2007 and 2012. Methods: The Milman checklist was used ...
متن کاملThe effect of quenching media and annealing temperature on graphitization transformation kinetic of CK100 tool steel
In this research, graphitization transformation of a commercial hypereutectoid steel called CK100 was studied by the dilatometric experiments at the range of 600 – 700 °C from prior martensitic structure. Also the effect of quenching media on the initial graphitization time and completion of transformation has been discussed. Also, graphitization transition from the different prior microstructu...
متن کامل